package test3;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class Day1 {
    public static void main(String[] args) throws ParseException {
        SimpleDateFormat sd = new SimpleDateFormat("yyyy-MM-dd");
        String br="2020-10-28";
        Date date=sd.parse(br);
        long time = date.getTime()+10000*24*60*60*1000L;
        date.setTime(time);
        System.out.println(date);
    }
}
